<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="icon" th:href="@{/static/console/common/images/favicon.ico}">
    <link rel="stylesheet" type="text/css" th:href="@{/static/console/common/layui/css/layui.css}">
<!--    <link rel="stylesheet" type="text/css" th:href="@{/static/console/common/layui-2.9.1/css/layui.css}">-->
    <link rel="stylesheet" type="text/css" th:href="@{/static/css/element/index.css}"/>
    <link rel="stylesheet" type="text/css" th:href="@{/static/console/css/public1.css}"/>
    <link rel="stylesheet" type="text/css" th:href="@{/static/console/datepicker/jquery-datePicker.css}" />
    <title>生产配合比上传</title>
    <style>

        .addModal .msgBox {width: 100%;height: 100%;left: 5%;bottom: inherit;overflow: auto;}
        .batchModal .msgBox {width: 80%;height: 80%;left: 5%; top:5%;bottom: inherit;overflow: auto;z-index: 1020}
    </style>
</head>
<script th:inline="javascript">
    const uploadTypeList = [[${uploadTypeList}]]
    const materialTypeList = [[${materialTypeList}]]
    const materialList = [[${materialList}]]
    const strengthList = [[${strengthList}]]
    const normList = [[${normList}]]
    const lineList = [[${lineList}]]
    const proTypeList = [[${proTypeList}]]
</script>
<body>
<div class="layui-card">
    <div class="layui-card-body">
        <form class="layui-form" action="">
            <div class="layui-form-item">
                <div class="layui-inline" style="display: none;">
                    <div class="layui-input-inline">
                        <select class="search-origin" lay-filter="search-origin">
                            <option th:value="${org.id}" th:text="${org.originName}" th:each="org:${orgList}"></option>
                        </select>
                    </div>
                </div>
                <div class="layui-form-item layui-inline">
                    <div class="layui-input-inline" style="width: 300px;">
                        <input type="text" placeholder="检索关键字" class="layui-input search-text">
                    </div>
                </div>
                <div class="layui-inline">
                    <div class="layui-input-inline">
                        <select class="search-proType" lay-search="" lay-filter="search-proType" style="width: 260px;">
                            <option value="">选择任务单状态</option>
                            <option value="0">待供</option>
                            <option value="1">正供</option>
                            <option value="2">供毕</option>
                        </select>
                    </div>
                </div>
                <div class="layui-inline">
                    <div class="layui-input-inline">
                        <select class="search-uploadType" lay-search="" lay-filter="search-uploadType" style="width: 260px;">
                            <option value="">选择是否上传</option>
                            <option th:value="${item.id}" th:text="${item.name}" th:each="item:${uploadTypeList}"></option>
                        </select>
                    </div>
                </div>
                <div class="layui-inline">
                    <div class="layui-input-inline">
                        <input type="text" th:value="${startTime}" class="layui-input search-startTime" id="search-startTime" placeholder="开盘开始日期">
                    </div>
                </div>
                <div class="layui-inline">
                    <div class="layui-input-inline">
                        <input type="text" th:value="${endTime}" class="layui-input search-endTime" id="search-endTime" placeholder="开盘结束日期">
                    </div>
                </div>
                <div class="layui-form-item layui-inline">
                    <a href="javascript:void(0)" class="layui-btn layui-btn-md layui-btn-danger btn-query" lay-filter="btn-query">
                        <i class="layui-icon layui-icon-search"></i>
                        查询
                    </a>
<!--                    <a href="javascript:void(0)" type="reset" class="layui-btn layui-btn-normal btn-add" lay-filter="btn-add">-->
<!--                        <i class="layui-icon">&#xe654;</i>-->
<!--                        添加-->
<!--                    </a>-->
                </div>
            </div>
        </form>
    </div>
</div>
<div class="layui-card">
    <div class="layui-card-body">
        <table class="layui-hide" id="body-list" lay-filter="body-list"></table>
    </div>
</div>
<!--添加弹窗-->
<div class="msgModal addModal">
    <div class="msgBox">
        <div class="msgBox-title">
            <h3 style="text-align: left; padding-left: 80px;">保存|上传生产配合比</h3>
            <a class="close" href="javascript:void(0);"><img src="/static/console/img/close-btn.png" /></a>
        </div>
        <div class="msgBox-con">
            <form class="layui-form" style="width: 100%;">
                <fieldset class="layui-elem-field layui-field-title" style="margin-bottom: 0;">
                    <legend style="font-size: 16px;">生产信息</legend>
                </fieldset>
                <div class="layui-form-item" style="margin-bottom: 5px;">
                    <div class="layui-inline">
                        <label class="layui-form-label" style="width: 80px;">任务单号</label>
                        <div class="layui-input-inline" style="width: 300px;">
                            <input type="text" readonly class="layui-input add-indentCode" placeholder="任务单号">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label" style="width: 80px;">强度等级</label>
                        <div class="layui-input-inline" style="width: 200px;">
                            <input type="text" readonly style="color: #cf3618;" class="layui-input add-strengthName" placeholder="强度等级">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label" style="width: 80px;">客户名称</label>
                        <div class="layui-input-inline" style="width: 375px;">
                            <input type="text" class="layui-input add-clientName" placeholder="客户名称">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item" style="margin-bottom: 5px;">
                    <div class="layui-inline">
                        <label class="layui-form-label" style="width: 80px;">施工部位</label>
                        <div class="layui-input-inline" style="width:495px">
                            <input type="text" readonly style="color: #cf3618;" class="layui-input add-site" placeholder="施工部位">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label" style="width: 80px;">工程名称</label>
                        <div class="layui-input-inline" style="width: 490px;">
                            <input type="text"readonly class="layui-input add-conName" placeholder="工程名称">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item" style="margin-bottom: 5px;">
                    <div class="layui-inline">
                        <label class="layui-form-label" style="width: 50px;">运距</label>
                        <div class="layui-input-inline" style="width: 80px;">
                            <input type="text" readonly class="layui-input add-distance" placeholder="运距">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label" style="width: 80px;">浇筑方式</label>
                        <div class="layui-input-inline" style="width: 180px;">
                            <input type="text"readonly class="layui-input add-castModelName" placeholder="浇筑方式">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label" style="width: 80px;">小票抬头</label>
                        <div class="layui-input-inline" style="width: 180px;">
                            <input type="text" readonly class="layui-input add-receiptUnit" placeholder="小票抬头">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label" style="width: 50px;">特性</label>
                        <div class="layui-input-inline" style="width: 400px;">
                            <input type="text" readonly class="layui-input add-tech" placeholder="特性">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item" style="margin-bottom: 5px;">
                    <div class="layui-inline">
                        <label class="layui-form-label" style="width: 80px;">坍落度</label>
                        <div class="layui-input-inline" style="width: 180px">
                            <input type="text" readonly class="layui-input add-slumps" placeholder="坍落度">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label" style="width: 120px;">计划开盘时间</label>
                        <div class="layui-input-inline" style="width: 260px">
                            <input type="text" readonly class="layui-input add-dispatchStartTime" placeholder="计划开盘时间">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label" style="width: 80px;">备注</label>
                        <div class="layui-input-inline" style="width: 400px">
                            <input type="text" readonly class="layui-input add-remark" placeholder="任务单备注">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item layui-form-text" style="margin-bottom: 5px;">
                    <label class="layui-form-label">生产线</label>
                    <div class="layui-input-inline checkbox-body" style="width: auto;">
                        <input type="checkbox" name="pro-line" lay-skin="tag" lay-filter="line-checkbox" th:title="${item.code}"
                               th:data-code="${item.code}" th:data-id="${item.id}" th:each="item:${lineList}"/>
                    </div>
                </div>
                <fieldset class="layui-elem-field layui-field-title" style="margin-bottom: 0;">
                    <legend style="font-size: 16px;">混凝土配比明细</legend>
                </fieldset>
                <div class="layui-tab layui-tab-card" lay-filter="tab-line">
                    <ul class="layui-tab-title">
<!--                        <li class="layui-this">1#</li>-->
<!--                        <li>2#</li>-->
                    </ul>
                    <div class="layui-tab-content">
<!--                        <div class="layui-tab-item layui-show">-->
<!--                            <div class="line-tab0">-->
<!--                                <div class="layui-form-item" style="margin-bottom: 5px;">-->
<!--                                    <div class="layui-inline">-->
<!--                                        <label class="layui-form-label" style="width: 120px;">生产配比代号</label>-->
<!--                                        <div class="layui-input-inline" style="width: 230px;">-->
<!--                                            <select class="add-construct" data-value="1" lay-filter="add-construct">-->
<!--                                                <option value="">请选择生产配合比</option>-->
<!--                                            </select>-->
<!--                                        </div>-->
<!--                                    </div>-->
<!--                                    <div class="layui-inline">-->
<!--                                        <label class="layui-form-label" style="width: 110px;">优化配比代号</label>-->
<!--                                        <div class="layui-input-inline" style="width: 230px">-->
<!--                                            <input type="text" readonly class="layui-input add-optimize0" placeholder="优化配比代号">-->
<!--                                        </div>-->
<!--                                    </div>-->
<!--                                    <div class="layui-inline">-->
<!--                                        <label class="layui-form-label" style="width: 80px;">启用日期</label>-->
<!--                                        <div class="layui-input-inline" style="width: 180px">-->
<!--                                            <input type="text" readonly class="layui-input add-takeEffectDate" placeholder="启用日期">-->
<!--                                        </div>-->
<!--                                    </div>-->
<!--                                </div>-->
<!--                                <div class="layui-form-item" style="margin-bottom: 5px;">-->
<!--                                    <div class="layui-inline">-->
<!--                                        <label class="layui-form-label" style="width: 120px;">历史生产配比</label>-->
<!--                                        <div class="layui-input-inline" style="width: 460px;">-->
<!--                                            <select class="add-historyConstruct0" data-value="1" lay-filter="add-historyConstruct">-->
<!--                                                <option value="">请选择生产配合比</option>-->
<!--                                            </select>-->
<!--                                        </div>-->
<!--                                    </div>-->
<!--                                    <div class="layui-inline">-->
<!--                                        <label class="layui-form-label" style="width: 80px;">搅拌时间</label>-->
<!--                                        <div class="layui-input-inline" style="width: 180px">-->
<!--                                            <input type="text" value="30" class="layui-input add-mixTime0" placeholder="搅拌时间">-->
<!--                                        </div>-->
<!--                                    </div>-->
<!--                                </div>-->
<!--                                <div class="layui-form-item">-->
<!--                                    <div class="layui-inline">-->
<!--                                        <label class="layui-form-label" style="width: 140px;text-align: center;">材料类型</label>-->
<!--                                        <label class="layui-form-label" style="width: 230px;text-align: center;">材料名称</label>-->
<!--                                        <label class="layui-form-label" style="width: 110px;text-align: center;">设计用量</label>-->
<!--                                        <label class="layui-form-label" style="width: 110px;text-align: center;">砂浆用量</label>-->
<!--                                        <label class="layui-form-label" style="width: 110px;text-align: center;">含水(%)</label>-->
<!--                                        <label class="layui-form-label" style="width: 110px;text-align: center;">计算用量</label>-->
<!--                                        <label class="layui-form-label" style="width: 230px;text-align: center;">ERP仓储位置</label>-->
<!--                                        <label class="layui-form-label" style="width: 230px;text-align: center;">工控仓储位置</label>-->
<!--                                        <a href="javascript:void(0)" type="reset" class="layui-btn layui-btn-normal btn-material-add" lay-filter="btn-add">-->
<!--                                            <i class="layui-icon">&#xe654;</i>-->
<!--                                            添加材料-->
<!--                                        </a>-->
<!--                                    </div>-->
<!--                                </div>-->
<!--                                <div class="layui-form material-body-list0">-->
<!--                                    <div class="layui-form-item material-item">-->
<!--                                        <div class="layui-input-inline" style="width: 140px;">-->
<!--                                            <select class="add-materialType" data-value="1" lay-filter="add-materialType">-->
<!--                                                <option value="">请选择材料名称</option>-->
<!--                                            </select>-->
<!--                                        </div>-->
<!--                                        <div class="layui-input-inline" style="width: 220px;">-->
<!--                                            <select class="add-material" lay-filter="add-material0">-->
<!--                                                <option value="">请选择材料类型</option>-->
<!--                                            </select>-->
<!--                                        </div>-->
<!--                                        <div class="layui-input-inline" style="width: 100px;">-->
<!--                                            <input type="text" class="layui-input add-constructNum" placeholder="设计用量">-->
<!--                                        </div>-->
<!--                                        <div class="layui-input-inline" style="width: 100px;">-->
<!--                                            <input type="text" class="layui-input add-standNum" placeholder="砂浆用量">-->
<!--                                        </div>-->
<!--                                        <div class="layui-input-inline" style="width: 100px;">-->
<!--                                            <input type="text" class="layui-input add-rate" placeholder="含水(%)">-->
<!--                                        </div>-->
<!--                                        <div class="layui-input-inline" style="width: 100px;">-->
<!--                                            <input type="text" class="layui-input add-dosage" placeholder="计算用量">-->
<!--                                        </div>-->
<!--                                        <div class="layui-input-inline" style="width: 220px;">-->
<!--                                            <select class="add-material" lay-filter="add-material">-->
<!--                                                <option value="">请选择ERP仓储位置</option>-->
<!--                                            </select>-->
<!--                                        </div>-->
<!--                                        <div class="layui-input-inline" style="width: 220px;">-->
<!--                                            <select class="add-material" lay-filter="add-material">-->
<!--                                                <option value="">请选择工控仓储位置</option>-->
<!--                                            </select>-->
<!--                                        </div>-->
<!--                                    </div>-->
<!--                                </div>-->
<!--                                <div class="layui-form-item" style="text-align: center;">-->
<!--                                    <div class="">-->
<!--                                        <a class="layui-btn btn-submit" lay-submit lay-filter="addBtns">保存</a>-->
<!--                                    </div>-->
<!--                                </div>-->
<!--                            </div>-->
<!--                        </div>-->
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

<div class="msgModal batchModal">
    <div class="msgBox">
        <div class="msgBox-title">
            <h3 style="text-align: left; padding-left: 80px;">集中上传配合比</h3>
            <a class="close" href="javascript:void(0);"><img src="/static/console/img/close-btn.png" /></a>
        </div>
        <div class="msgBox-con">
            <div class="layui-card-body">
                <table class="layui-hide" id="batch-body-list" lay-filter="batch-body-list"></table>
            </div>
            <form class="layui-form" style="width: 100%;">
                <div class="layui-form-item" style="text-align: center;">
                    <div class="">
                        <a href="javascript:void(0)" class="layui-btn layui-btn-md layui-btn-danger btn-batch-update" lay-filter="btn-batch">
                            <i class="layui-icon"></i>
                            上传
                        </a>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
</body>

<script type="text/javascript" th:src="@{/static/console/assets/js/jquery-3.2.1.min.js}"></script>
<script type="text/javascript" th:src="@{/static/console/common/layui/layui.js}"></script>
<!--<script type="text/javascript" th:src="@{/static/console/common/layui-2.9.1/layui.js}"></script>-->
<script type="text/javascript" th:src="@{/static/console/js/pages/base.js}" charset="utf-8"></script>
<script type="text/javascript" th:src="@{/static/js/vue.min.js}"></script>
<script type="text/javascript" th:src="@{/static/js/element/index.js}"charset="utf-8"></script>
<script type="text/javascript" th:src="@{/static/console/datepicker/jquery-datePicker.js}"charset="utf-8"></script>
<script type="text/javascript" th:src="@{/static/console/js/pages/lab/upload-expend.js}" charset="utf-8"></script>
<script type="text/javascript">

</script>

</html>